﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="UDS.SubModule.HR.index" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="author" content="Herry" />
<meta name="Copyright" content="Copyright (c) 2009 himm.cn" />
<title>员工档案</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="/css/other.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/css/table.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="m">
    <div class="path"><span class="right"><asp:Button ID="Add_HR_Info" runat="server" CssClass="redButtonCss" Text="增加员工档案" OnClick="Add_HR_Info_Click" /></span><a href="/SubModule/UnitiveDocument/Desktop.aspx">我的桌面</a> >> 员工档案</div>
    <div class="con">

                <asp:GridView ID="GV_IndexList" runat="server" CellPadding="3" BackColor="White" 
                    BorderColor="#93BEE2" Width="100%"  OnRowDeleting="GV_IndexList_RowDeleting"  OnRowDataBound="GV_IndexList_RowDataBound" AutoGenerateColumns="False" AllowPaging="True" PageSize="25">
                    <Columns>
                        <asp:BoundField DataField="HR_Code" HeaderText="员工号">
                            <HeaderStyle Width="10%" />
                            <ControlStyle CssClass="inputcss" />
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        
                        <asp:BoundField DataField="HR_Name" HeaderText="员工姓名">
                            <HeaderStyle Width="30%" />
                            <ControlStyle CssClass="inputcss" Width="95%" />
                        </asp:BoundField>
                        
                        <asp:BoundField DataField="HR_Sex" HeaderText="性别">
                            <HeaderStyle Width="10%" />
                            <ControlStyle CssClass="inputcss" Width="95%" />
                        </asp:BoundField>
                        
                        <asp:BoundField DataField="HR_Postion" HeaderText="职务/岗位">
                            <ControlStyle CssClass="inputcss" Width="95%" />
                            <HeaderStyle Width="10%" />
                        </asp:BoundField>
                        
                         <asp:BoundField DataField="HR_EntryTime" HeaderText="入职时间	">
                            <ControlStyle CssClass="inputcss" Width="95%" />
                            <HeaderStyle Width="15%" />
                        </asp:BoundField>
                           <asp:BoundField DataField="HR_WorkExp" HeaderText="工作年限">
                            <ControlStyle CssClass="inputcss" Width="95%" />
                            <HeaderStyle Width="10%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="修改">   
                            <HeaderStyle Width="5%" />
                            <ItemTemplate>
                               <a href="HR_Info_Edit.aspx?HR_ID=<%# DataBinder.Eval(Container.DataItem, "HR_ID").ToString() %>">修改</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                       
                        <asp:CommandField HeaderText="删除" ShowDeleteButton="True" >
                            <HeaderStyle Width="5%" />
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:CommandField>
                        
                    </Columns>
                	<HeaderStyle HorizontalAlign="Center" Height="20px" ForeColor="White" VerticalAlign="Middle" BackColor="#337FB2"></HeaderStyle>
                    <PagerStyle HorizontalAlign="Center" BackColor="#FFFFCC" BorderStyle="None" BorderWidth="0px" ForeColor="#330099" />
                    <PagerSettings Visible="False" />         	
                </asp:GridView>

      </div>
  </div>
</form>
</body>
</html>